package wec_wallet.ebo.com.widget;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import bassproject.ebo.com.ebobass.activity.MyBaseActivity;
import wec_wallet.ebo.com.R;

/**
 * Created by Administrator on 2018/3/20.
 */

public class InterceptActiDialog extends MyBaseActivity {
    private TextView intercept_dialog_num;
    private Button  intercept_dialog_close;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_dialog_intercept);
        initViews();
    }

    @Override
    public void initViews() {
        intercept_dialog_num = (TextView) findViewById(R.id.intercept_dialog_num);
        intercept_dialog_close = (Button) findViewById(R.id.intercept_dialog_close);
        intercept_dialog_close.setOnClickListener(this);
        String incomingNumbers = getIntent().getStringExtra("incomingNumber");
        intercept_dialog_num.setText(incomingNumbers);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.intercept_dialog_close:
                finish();
                break;
        }

    }
}
